Conditions | 1 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 6 | ||
Bugs | 0 | Features | 0 |
1 | import { PureComponent } from 'react'; |
||
6 | constructor(props, context) { |
||
7 | super(props, context); |
||
8 | |||
9 | const { store, router } = context; |
||
10 | this.store = store; |
||
11 | this.router = router; |
||
12 | |||
13 | this.handleStoreChange = this.handleStoreChange.bind(this); |
||
14 | |||
15 | this.unsubscribe = store && store.subscribe(this.handleStoreChange); |
||
16 | } |
||
17 | |||
47 |